package models

import (
	"time"
)

type Partner struct {
	Id               int       `xorm:"pk autoincr int(11)"`
	Typea            string    `xorm:"varchar(50)"`
	Name             string    `xorm:"varchar(50)"`
	Code             string    `xorm:"varchar(50)"`
	Type             string    `xorm:"varchar(50)"`
	Coptype          string    `xorm:"varchar(50)"`
	Status           string    `xorm:"varchar(50)"`
	Cautionmoneyflag int       `xorm:"TINYINT(3) not null default(0)"`
	Cautionmoneyrate string    `xorm:"DECIMAL(19,2)"`
	Settletype       string    `xorm:"varchar(50)"`
	Settleday        string    `xorm:"varchar(50)"`
	Settlename       string    `xorm:"varchar(50)"`
	Settlebank       string    `xorm:"varchar(50)"`
	Settlebankacct   string    `xorm:"varchar(50)"`
	Contact          string    `xorm:"varchar(50)"`
	Contacttel       string    `xorm:"varchar(50)"`
	Contactaddr      string    `xorm:"varchar(50)"`
	Contractdt       time.Time `xorm:"DATE"`
	Contractenddt    time.Time `xorm:"DATE"`
	Contactattid     int       `xorm:"int(11)"`
	Contractattid    int       `xorm:"int(11)"`
	Contractatt      string    `xorm:"varchar(255)"`
}
